import { Base } from '../../utils/base.js'
class OrderTrance extends Base {
  constructor() {
    super()
  }
  //获取订单详情列表
  getDetailList(parames, callback) {
    let url = "/ddaigo-platform/order/detailList";
    this.commonRequest(url, parames, callback);
  } 
  //获取运单信息
  getLogistics(parames, callback) {
      let url = "/ddaigo-platform/order/getLogistics";
      this.commonRequest(url, parames, callback);
  } 
  // 根据id获取单个地址
  getUserAddressById(params, callback) {
      var url = '/ddaigo-platform/user/getUserAddressById';
      var reType = 'POST';
      this.commonRequest(url, params, callback);
  }
}
module.exports = {
  OrderTrance
}